package com.hao.jdbctemplate.service.impl;

import com.hao.jdbctemplate.dao.UserDao;
import com.hao.jdbctemplate.pojo.User;
import com.hao.jdbctemplate.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * TODO
 *
 * @author 97472
 * @version 1.0
 * @date 2021/11/5 16:13
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    private UserDao userDao;

    public void add(User user){
        userDao.add(user);
    }
}
